Dylan Kerr - Voronoi Diagrams

This haskell program generates animated voronoi diagrams - colouring regions based on the closest point - where the colours wrap around.
To run the program, simply call the function "main". This will replace the files in the output folder.
The output is a series of html files - you can open any one of them, as they automatically loop anyway.
If you want to try the program for yourself, feel free to change some of the values around to see what else it can generate - be aware that the reason the resolution (dims - Main.hs, line 30) is so low is because at higher values chrome was struggling to load all the svg at once - if you encounter flickering as is then just set it even lower

The module "DrawStuff" is a modified version of the LSystem module from the turtle graphics tutorial.
Calculations for distance on a torus based on https://blog.demofox.org/2017/10/01/calculating-the-distance-between-points-in-wrap-around-toroidal-space/
html redirect based on first answer to https://stackoverflow.com/questions/3292038/redirect-website-after-specified-amount-of-time
Had issue with weird gaps between lines which was fixed by first answer to https://stackoverflow.com/questions/44040163/how-to-prevent-inconsistent-thickness-and-gaps-in-svg-lines
Read a little about pseudo-random number generators (https://www.geeksforgeeks.org/pseudo-random-number-generator-prng/), it was a bit complex for what I needed but it still inspired me somewhat